home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11608 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: solon.com!not-for-mail
  2. From: The Amorphous Mass <robinson@blue.weeg.uiowa.edu>
  3. Newsgroups: comp.lang.c,comp.lang.c.moderated
  4. Subject: Re: const pointer confusion...
  5. Date: 25 Mar 1996 06:21:26 -0600
  6. Organization: University of Iowa, Iowa City, IA, USA
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4j6346$3et@solutions.solon.com>
  10. References: <4j06gm$7oa@solutions.solon.com> <4j41hs$nku@solutions.solon.com>
  11. NNTP-Posting-Host: solutions.solon.com
  12. X-Sender: robinson@black.weeg.uiowa.edu
  13.  
  14. On 24 Mar 1996, The Amorphous Mass wrote:
  15.  
  16. > On 23 Mar 1996, Reed R. Mangino wrote:
  17. > > 2) int *const p;
  18. > >     p is a pointer to an integer.  *p can be assigned to, but p can
  19. > >     never be made to point to another address in memory, right?
  20. >   This is a syntax error.
  21.  
  22.   No it isn't.  Flame at will. :-(
  23.  
  24. /**James Robinson***********************            
  25.   "If a fatal error occurs, the program should not be allowed to continue."
  26.  -- Oracle Pro*C User's Guide         *************james-robinson@uiowa.edu**/
  27.